<?php
namespace App\Exports;
use Maatwebsite\Excel\Concerns\FromQuery;
use Maatwebsite\Excel\Concerns\Exportable;
use App\Models\User;

class UserExport implements FromQuery{
    use Exportable;
    public function query()
    {
        return User::query();
    }

}